import request from '@/utils/request'

// 查询临时收费/押金管理列表
export function listTemporarydeposit(query) {
  return request({
    url: '/feeDeposit/temporarydeposit/list1',
    method: 'get',
    params: query
  })
}

// 查询临时收费/押金管理详细
export function getTemporarydeposit(id) {
  return request({
    url: '/feeDeposit/temporarydeposit/' + id,
    method: 'get'
  })
}

// 新增临时收费/押金管理
export function addTemporarydeposit(data) {
  return request({
    url: '/feeDeposit/temporarydeposit',
    method: 'post',
    data: data
  })
}

// 修改临时收费/押金管理
export function updateTemporarydeposit(data) {
  return request({
    url: '/feeDeposit/temporarydeposit',
    method: 'put',
    data: data
  })
}

// 删除临时收费/押金管理
export function delTemporarydeposit(id) {
  return request({
    url: '/feeDeposit/temporarydeposit/' + id,
    method: 'delete'
  })
}
